package com.boot.web.dao;

import com.boot.web.entity.SignIn;
import com.boot.base.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 签到数据层接口
 * @author 【zhouJie】
 * @date 2021-07-16 09:35:50
 */
public interface SignInDao extends BaseDao<SignIn> {

    SignIn queryByTodayIsSignIn(@Param("userId") Integer userId, @Param("time") String time);

    List<SignIn> queryByUserId(Integer userId);

    List<SignIn> queryByUserIdAndMonth(@Param("userId") Integer userId, @Param("strTime") String strTime);

}
